home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 6
/
FM Towns Free Software Collection 6.iso
/
t_os
/
vdtwn
/
tvf
/
asmhd6
/
comdhd6
/
j_slow.hd6
< prev
next >
Wrap
Text File
|
1993-07-08
|
3KB
|
213 lines
ds_name db '\KOMEI\実物\TVF_PRG\J_SLOW',0
paint_wd:
SET_P dt2
SET_P dt3
re_paint:
WD_CLS 0
BOX boxdt,3
MOZI mozidt
MOZI mozidt1
MOZI mozidt2
be_called:
call ds_kazu
mov ax,[esi]
cmp ax,0
jne called1
mov ax,1
called1:
movzx eax,ax
shl eax,11
KAKU 312,eax
ret
mouse_in:
cmp ch,0
jne mouseck
ret
di_mou:
call sub_edi
dw ?
mouseck:
call di_mou
mov [edi],cx
MOU boxdt,3
cmp bx,1 ;bx=1 find
je short mck1 ;ax = no
ret
mck1:
call di_mou
mov cx,[edi]
cmp ax,1
je find1
cmp ax,2
je find2
cmp ax,3
je find3
ret
cls0:
mov ah,25
mov al,2
jmp komei
find3:
cmp ch,1
je find3_1
ret
find3_1:
call ds_kazu
mov ax,[esi]
movzx eax,ax
KAKU 300,eax
CALL_P dt2
CALL_P dt3
GAMEN 1632
mov bx,0
call cls0
mov ah,27
call komei
ret
ds_kazu:
call sub_esi
dw ?
find2:
call ds_kazu
mov bx,[esi]
cmp ch,2
je herasu1
cmp bx,98
jle tasu1
ret
tasu1:
inc bx
jmp kaku_kazu
herasu1:
cmp bx,1
jge herasu2
ret
herasu2:
dec bx
jmp kaku_kazu
find1:
call ds_kazu
mov bx,[esi]
cmp ch,2
je herasu10
cmp bx,89
jle tasu10
ret
tasu10:
add bx,10
jmp kaku_kazu
herasu10:
cmp bx,10
jge herasu12
ret
herasu12:
sub bx,10
kaku_kazu:
mov [esi],bx
mov ax,bx
mov bl,10
div bl
add al,30h
add ah,30h
call mozidt2
mov 14[edi],al
mov 16[edi],ah
BOX boxdt,2
MOZI mozidt2
call kesums
ret
kesums:
M_KESUMS
look_me:
call sub_esi
dd 0,0
dw 1,0,17*8,26*2,17*10,260,15,5,0,0
boxdt:
call sub_edi
dw 2,10,19,67,3,18,0,12,7,0
dw 1,17*8-4,24,4,26,0,20,12,7,0
; [count][sz_x][sz_y][off_x][off_y][+x][+y][f_col][b_col][s_no]
mozidt:
call sub_edi
dw 0 ;screen_no
dw 1 ; mozi_color
dw 26 ; 書き出し位置 x
dw 26 ; y
dw 10 ; next offset x
dw 0 ; next offset y
dw 1 ; gyo suu
db '可変スロー ',0
dw 0,0
mozidt1:
call sub_edi
dw 0 ;screen_no
dw 1 ; mozi_color
dw 2 ; 書き出し位置 x
dw 2 ; y
dw 10 ; next offset x
dw 0 ; next offset y
dw 1 ; gyo suu
db 'ウエイト',0
dw 0,0
mozidt2:
call sub_edi
dw 0 ;screen_no
dw 1 ; mozi_color
dw 70 ; 書き出し位置 x
dw 2 ; y
dw 10 ; next offset x
dw 0 ; next offset y
dw 1 ; gyo suu
db '0 0',0
dw 0,0
dt3:
call sub_edi
dw ?
db 'KOMA',0
dt2:
call sub_edi
dw ?
db 'H_DG',0
p_set:
M_P_SET
p_call:
M_P_CALL